package basisApi

import (
	"github.com/Sir-yuChen/funAnalyse/model/common/response"
	"github.com/gin-gonic/gin"
)

type HelloController struct {
}

func (b *HelloController) Hello(c *gin.Context) {
	if str := helloService.Hello(); len(str) > 0 {
		response.OkWithDetailed(nil, str, c)
	} else {
		response.FailWithMessage("系统异常", c)
	}
}
